package org.jeecg.modules.zixishi.service;

import org.jeecg.modules.zixishi.entity.SwiperPic;
import org.jeecg.modules.zixishi.entity.Quyu;
import org.jeecg.modules.zixishi.entity.Zixishi;
import com.baomidou.mybatisplus.extension.service.IService;
import java.io.Serializable;
import java.util.Collection;
import java.util.List;

/**
 * @Description: 自习室
 * @Author: jeecg-boot
 * @Date:   2024-05-19
 * @Version: V1.0
 */
public interface IZixishiService extends IService<Zixishi> {

	/**
	 * 添加一对多
	 *
	 * @param zixishi
	 * @param swiperPicList
	 * @param quyuList
	 */
	public void saveMain(Zixishi zixishi,List<SwiperPic> swiperPicList,List<Quyu> quyuList) ;
	
	/**
	 * 修改一对多
	 *
   * @param zixishi
   * @param swiperPicList
   * @param quyuList
	 */
	public void updateMain(Zixishi zixishi,List<SwiperPic> swiperPicList,List<Quyu> quyuList);
	
	/**
	 * 删除一对多
	 *
	 * @param id
	 */
	public void delMain (String id);
	
	/**
	 * 批量删除一对多
	 *
	 * @param idList
	 */
	public void delBatchMain (Collection<? extends Serializable> idList);
	
}
